3.80 \(\int x^2 \cosh ^{-1}(a x)^{3/2} \, dx\)

Optimal. Leaf size=189 \[ -\frac{3 \sqrt{\pi } \text{Erf}\left (\sqrt{\cosh ^{-1}(a x)}\right )}{32 a^3}-\frac{\sqrt{\frac{\pi }{3}} \text{Erf}\left (\sqrt{3} \sqrt{\cosh ^{-1}(a x)}\right )}{96 a^3}+\frac{3 \sqrt{\pi } \text{Erfi}\left (\sqrt{\cosh ^{-1}(a x)}\right )}{32 a^3}+\frac{\sqrt{\frac{\pi }{3}} \text{Erfi}\left (\sqrt{3} \sqrt{\cosh ^{-1}(a x)}\right )}{96 a^3}-\frac{\sqrt{a x-1} \sqrt{a x+1} \sqrt{\cosh ^{-1}(a x)}}{3 a^3}+\frac{1}{3} x^3 \cosh ^{-1}(a x)^{3/2}-\frac{x^2 \sqrt{a x-1} \sqrt{a x+1} \sqrt{\cosh ^{-1}(a x)}}{6 a} \]

[Out]

-(Sqrt[-1 + a*x]*Sqrt[1 + a*x]*Sqrt[ArcCosh[a*x]])/(3*a^3) - (x^2*Sqrt[-1 + a*x]*Sqrt[1 + a*x]*Sqrt[ArcCosh[a*
x]])/(6*a) + (x^3*ArcCosh[a*x]^(3/2))/3 - (3*Sqrt[Pi]*Erf[Sqrt[ArcCosh[a*x]]])/(32*a^3) - (Sqrt[Pi/3]*Erf[Sqrt
[3]*Sqrt[ArcCosh[a*x]]])/(96*a^3) + (3*Sqrt[Pi]*Erfi[Sqrt[ArcCosh[a*x]]])/(32*a^3) + (Sqrt[Pi/3]*Erfi[Sqrt[3]*
Sqrt[ArcCosh[a*x]]])/(96*a^3)

________________________________________________________________________________________

Rubi [A]  time = 0.639637, antiderivative size = 189, normalized size of antiderivative = 1., number of steps used = 22, number of rules used = 10, integrand size = 12, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.833, Rules used = {5664, 5759, 5718, 5658, 3308, 2180, 2204, 2205, 5670, 5448} \[ -\frac{3 \sqrt{\pi } \text{Erf}\left (\sqrt{\cosh ^{-1}(a x)}\right )}{32 a^3}-\frac{\sqrt{\frac{\pi }{3}} \text{Erf}\left (\sqrt{3} \sqrt{\cosh ^{-1}(a x)}\right )}{96 a^3}+\frac{3 \sqrt{\pi } \text{Erfi}\left (\sqrt{\cosh ^{-1}(a x)}\right )}{32 a^3}+\frac{\sqrt{\frac{\pi }{3}} \text{Erfi}\left (\sqrt{3} \sqrt{\cosh ^{-1}(a x)}\right )}{96 a^3}-\frac{\sqrt{a x-1} \sqrt{a x+1} \sqrt{\cosh ^{-1}(a x)}}{3 a^3}+\frac{1}{3} x^3 \cosh ^{-1}(a x)^{3/2}-\frac{x^2 \sqrt{a x-1} \sqrt{a x+1} \sqrt{\cosh ^{-1}(a x)}}{6 a} \]

Antiderivative was successfully verified.

[In]

Int[x^2*ArcCosh[a*x]^(3/2),x]

[Out]

-(Sqrt[-1 + a*x]*Sqrt[1 + a*x]*Sqrt[ArcCosh[a*x]])/(3*a^3) - (x^2*Sqrt[-1 + a*x]*Sqrt[1 + a*x]*Sqrt[ArcCosh[a*
x]])/(6*a) + (x^3*ArcCosh[a*x]^(3/2))/3 - (3*Sqrt[Pi]*Erf[Sqrt[ArcCosh[a*x]]])/(32*a^3) - (Sqrt[Pi/3]*Erf[Sqrt
[3]*Sqrt[ArcCosh[a*x]]])/(96*a^3) + (3*Sqrt[Pi]*Erfi[Sqrt[ArcCosh[a*x]]])/(32*a^3) + (Sqrt[Pi/3]*Erfi[Sqrt[3]*
Sqrt[ArcCosh[a*x]]])/(96*a^3)

Rule 5664

Int[((a_.) + ArcCosh[(c_.)*(x_)]*(b_.))^(n_)*(x_)^(m_.), x_Symbol] :> Simp[(x^(m + 1)*(a + b*ArcCosh[c*x])^n)/
(m + 1), x] - Dist[(b*c*n)/(m + 1), Int[(x^(m + 1)*(a + b*ArcCosh[c*x])^(n - 1))/(Sqrt[-1 + c*x]*Sqrt[1 + c*x]
), x], x] /; FreeQ[{a, b, c}, x] && IGtQ[m, 0] && GtQ[n, 0]

Rule 5759

Int[(((a_.) + ArcCosh[(c_.)*(x_)]*(b_.))^(n_.)*((f_.)*(x_))^(m_))/(Sqrt[(d1_) + (e1_.)*(x_)]*Sqrt[(d2_) + (e2_
.)*(x_)]), x_Symbol] :> Simp[(f*(f*x)^(m - 1)*Sqrt[d1 + e1*x]*Sqrt[d2 + e2*x]*(a + b*ArcCosh[c*x])^n)/(e1*e2*m
), x] + (Dist[(f^2*(m - 1))/(c^2*m), Int[((f*x)^(m - 2)*(a + b*ArcCosh[c*x])^n)/(Sqrt[d1 + e1*x]*Sqrt[d2 + e2*
x]), x], x] + Dist[(b*f*n*Sqrt[d1 + e1*x]*Sqrt[d2 + e2*x])/(c*d1*d2*m*Sqrt[1 + c*x]*Sqrt[-1 + c*x]), Int[(f*x)
^(m - 1)*(a + b*ArcCosh[c*x])^(n - 1), x], x]) /; FreeQ[{a, b, c, d1, e1, d2, e2, f}, x] && EqQ[e1 - c*d1, 0]
&& EqQ[e2 + c*d2, 0] && GtQ[n, 0] && GtQ[m, 1] && IntegerQ[m]

Rule 5718

Int[((a_.) + ArcCosh[(c_.)*(x_)]*(b_.))^(n_.)*(x_)*((d1_) + (e1_.)*(x_))^(p_.)*((d2_) + (e2_.)*(x_))^(p_.), x_
Symbol] :> Simp[((d1 + e1*x)^(p + 1)*(d2 + e2*x)^(p + 1)*(a + b*ArcCosh[c*x])^n)/(2*e1*e2*(p + 1)), x] - Dist[
(b*n*(-(d1*d2))^IntPart[p]*(d1 + e1*x)^FracPart[p]*(d2 + e2*x)^FracPart[p])/(2*c*(p + 1)*(1 + c*x)^FracPart[p]
*(-1 + c*x)^FracPart[p]), Int[(-1 + c^2*x^2)^(p + 1/2)*(a + b*ArcCosh[c*x])^(n - 1), x], x] /; FreeQ[{a, b, c,
 d1, e1, d2, e2, p}, x] && EqQ[e1 - c*d1, 0] && EqQ[e2 + c*d2, 0] && GtQ[n, 0] && NeQ[p, -1] && IntegerQ[p + 1
/2]

Rule 5658

Int[((a_.) + ArcCosh[(c_.)*(x_)]*(b_.))^(n_), x_Symbol] :> -Dist[(b*c)^(-1), Subst[Int[x^n*Sinh[a/b - x/b], x]
, x, a + b*ArcCosh[c*x]], x] /; FreeQ[{a, b, c, n}, x]

Rule 3308

Int[((c_.) + (d_.)*(x_))^(m_.)*sin[(e_.) + (f_.)*(x_)], x_Symbol] :> Dist[I/2, Int[(c + d*x)^m/E^(I*(e + f*x))
, x], x] - Dist[I/2, Int[(c + d*x)^m*E^(I*(e + f*x)), x], x] /; FreeQ[{c, d, e, f, m}, x]

Rule 2180

Int[(F_)^((g_.)*((e_.) + (f_.)*(x_)))/Sqrt[(c_.) + (d_.)*(x_)], x_Symbol] :> Dist[2/d, Subst[Int[F^(g*(e - (c*
f)/d) + (f*g*x^2)/d), x], x, Sqrt[c + d*x]], x] /; FreeQ[{F, c, d, e, f, g}, x] &&  !$UseGamma === True

Rule 2204

Int[(F_)^((a_.) + (b_.)*((c_.) + (d_.)*(x_))^2), x_Symbol] :> Simp[(F^a*Sqrt[Pi]*Erfi[(c + d*x)*Rt[b*Log[F], 2
]])/(2*d*Rt[b*Log[F], 2]), x] /; FreeQ[{F, a, b, c, d}, x] && PosQ[b]

Rule 2205

Int[(F_)^((a_.) + (b_.)*((c_.) + (d_.)*(x_))^2), x_Symbol] :> Simp[(F^a*Sqrt[Pi]*Erf[(c + d*x)*Rt[-(b*Log[F]),
 2]])/(2*d*Rt[-(b*Log[F]), 2]), x] /; FreeQ[{F, a, b, c, d}, x] && NegQ[b]

Rule 5670

Int[((a_.) + ArcCosh[(c_.)*(x_)]*(b_.))^(n_)*(x_)^(m_.), x_Symbol] :> Dist[1/c^(m + 1), Subst[Int[(a + b*x)^n*
Cosh[x]^m*Sinh[x], x], x, ArcCosh[c*x]], x] /; FreeQ[{a, b, c, n}, x] && IGtQ[m, 0]

Rule 5448

Int[Cosh[(a_.) + (b_.)*(x_)]^(p_.)*((c_.) + (d_.)*(x_))^(m_.)*Sinh[(a_.) + (b_.)*(x_)]^(n_.), x_Symbol] :> Int
[ExpandTrigReduce[(c + d*x)^m, Sinh[a + b*x]^n*Cosh[a + b*x]^p, x], x] /; FreeQ[{a, b, c, d, m}, x] && IGtQ[n,
 0] && IGtQ[p, 0]

Rubi steps

\begin{align*} \int x^2 \cosh ^{-1}(a x)^{3/2} \, dx &=\frac{1}{3} x^3 \cosh ^{-1}(a x)^{3/2}-\frac{1}{2} a \int \frac{x^3 \sqrt{\cosh ^{-1}(a x)}}{\sqrt{-1+a x} \sqrt{1+a x}} \, dx\\ &=-\frac{x^2 \sqrt{-1+a x} \sqrt{1+a x} \sqrt{\cosh ^{-1}(a x)}}{6 a}+\frac{1}{3} x^3 \cosh ^{-1}(a x)^{3/2}+\frac{1}{12} \int \frac{x^2}{\sqrt{\cosh ^{-1}(a x)}} \, dx-\frac{\int \frac{x \sqrt{\cosh ^{-1}(a x)}}{\sqrt{-1+a x} \sqrt{1+a x}} \, dx}{3 a}\\ &=-\frac{\sqrt{-1+a x} \sqrt{1+a x} \sqrt{\cosh ^{-1}(a x)}}{3 a^3}-\frac{x^2 \sqrt{-1+a x} \sqrt{1+a x} \sqrt{\cosh ^{-1}(a x)}}{6 a}+\frac{1}{3} x^3 \cosh ^{-1}(a x)^{3/2}+\frac{\operatorname{Subst}\left (\int \frac{\cosh ^2(x) \sinh (x)}{\sqrt{x}} \, dx,x,\cosh ^{-1}(a x)\right )}{12 a^3}+\frac{\int \frac{1}{\sqrt{\cosh ^{-1}(a x)}} \, dx}{6 a^2}\\ &=-\frac{\sqrt{-1+a x} \sqrt{1+a x} \sqrt{\cosh ^{-1}(a x)}}{3 a^3}-\frac{x^2 \sqrt{-1+a x} \sqrt{1+a x} \sqrt{\cosh ^{-1}(a x)}}{6 a}+\frac{1}{3} x^3 \cosh ^{-1}(a x)^{3/2}+\frac{\operatorname{Subst}\left (\int \left (\frac{\sinh (x)}{4 \sqrt{x}}+\frac{\sinh (3 x)}{4 \sqrt{x}}\right ) \, dx,x,\cosh ^{-1}(a x)\right )}{12 a^3}+\frac{\operatorname{Subst}\left (\int \frac{\sinh (x)}{\sqrt{x}} \, dx,x,\cosh ^{-1}(a x)\right )}{6 a^3}\\ &=-\frac{\sqrt{-1+a x} \sqrt{1+a x} \sqrt{\cosh ^{-1}(a x)}}{3 a^3}-\frac{x^2 \sqrt{-1+a x} \sqrt{1+a x} \sqrt{\cosh ^{-1}(a x)}}{6 a}+\frac{1}{3} x^3 \cosh ^{-1}(a x)^{3/2}+\frac{\operatorname{Subst}\left (\int \frac{\sinh (x)}{\sqrt{x}} \, dx,x,\cosh ^{-1}(a x)\right )}{48 a^3}+\frac{\operatorname{Subst}\left (\int \frac{\sinh (3 x)}{\sqrt{x}} \, dx,x,\cosh ^{-1}(a x)\right )}{48 a^3}-\frac{\operatorname{Subst}\left (\int \frac{e^{-x}}{\sqrt{x}} \, dx,x,\cosh ^{-1}(a x)\right )}{12 a^3}+\frac{\operatorname{Subst}\left (\int \frac{e^x}{\sqrt{x}} \, dx,x,\cosh ^{-1}(a x)\right )}{12 a^3}\\ &=-\frac{\sqrt{-1+a x} \sqrt{1+a x} \sqrt{\cosh ^{-1}(a x)}}{3 a^3}-\frac{x^2 \sqrt{-1+a x} \sqrt{1+a x} \sqrt{\cosh ^{-1}(a x)}}{6 a}+\frac{1}{3} x^3 \cosh ^{-1}(a x)^{3/2}-\frac{\operatorname{Subst}\left (\int \frac{e^{-3 x}}{\sqrt{x}} \, dx,x,\cosh ^{-1}(a x)\right )}{96 a^3}-\frac{\operatorname{Subst}\left (\int \frac{e^{-x}}{\sqrt{x}} \, dx,x,\cosh ^{-1}(a x)\right )}{96 a^3}+\frac{\operatorname{Subst}\left (\int \frac{e^x}{\sqrt{x}} \, dx,x,\cosh ^{-1}(a x)\right )}{96 a^3}+\frac{\operatorname{Subst}\left (\int \frac{e^{3 x}}{\sqrt{x}} \, dx,x,\cosh ^{-1}(a x)\right )}{96 a^3}-\frac{\operatorname{Subst}\left (\int e^{-x^2} \, dx,x,\sqrt{\cosh ^{-1}(a x)}\right )}{6 a^3}+\frac{\operatorname{Subst}\left (\int e^{x^2} \, dx,x,\sqrt{\cosh ^{-1}(a x)}\right )}{6 a^3}\\ &=-\frac{\sqrt{-1+a x} \sqrt{1+a x} \sqrt{\cosh ^{-1}(a x)}}{3 a^3}-\frac{x^2 \sqrt{-1+a x} \sqrt{1+a x} \sqrt{\cosh ^{-1}(a x)}}{6 a}+\frac{1}{3} x^3 \cosh ^{-1}(a x)^{3/2}-\frac{\sqrt{\pi } \text{erf}\left (\sqrt{\cosh ^{-1}(a x)}\right )}{12 a^3}+\frac{\sqrt{\pi } \text{erfi}\left (\sqrt{\cosh ^{-1}(a x)}\right )}{12 a^3}-\frac{\operatorname{Subst}\left (\int e^{-3 x^2} \, dx,x,\sqrt{\cosh ^{-1}(a x)}\right )}{48 a^3}-\frac{\operatorname{Subst}\left (\int e^{-x^2} \, dx,x,\sqrt{\cosh ^{-1}(a x)}\right )}{48 a^3}+\frac{\operatorname{Subst}\left (\int e^{x^2} \, dx,x,\sqrt{\cosh ^{-1}(a x)}\right )}{48 a^3}+\frac{\operatorname{Subst}\left (\int e^{3 x^2} \, dx,x,\sqrt{\cosh ^{-1}(a x)}\right )}{48 a^3}\\ &=-\frac{\sqrt{-1+a x} \sqrt{1+a x} \sqrt{\cosh ^{-1}(a x)}}{3 a^3}-\frac{x^2 \sqrt{-1+a x} \sqrt{1+a x} \sqrt{\cosh ^{-1}(a x)}}{6 a}+\frac{1}{3} x^3 \cosh ^{-1}(a x)^{3/2}-\frac{3 \sqrt{\pi } \text{erf}\left (\sqrt{\cosh ^{-1}(a x)}\right )}{32 a^3}-\frac{\sqrt{\frac{\pi }{3}} \text{erf}\left (\sqrt{3} \sqrt{\cosh ^{-1}(a x)}\right )}{96 a^3}+\frac{3 \sqrt{\pi } \text{erfi}\left (\sqrt{\cosh ^{-1}(a x)}\right )}{32 a^3}+\frac{\sqrt{\frac{\pi }{3}} \text{erfi}\left (\sqrt{3} \sqrt{\cosh ^{-1}(a x)}\right )}{96 a^3}\\ \end{align*}

Mathematica [A]  time = 0.0873498, size = 100, normalized size = 0.53 \[ \frac{\sqrt{3} \sqrt{-\cosh ^{-1}(a x)} \text{Gamma}\left (\frac{5}{2},-3 \cosh ^{-1}(a x)\right )+27 \sqrt{-\cosh ^{-1}(a x)} \text{Gamma}\left (\frac{5}{2},-\cosh ^{-1}(a x)\right )+\sqrt{\cosh ^{-1}(a x)} \left (27 \text{Gamma}\left (\frac{5}{2},\cosh ^{-1}(a x)\right )+\sqrt{3} \text{Gamma}\left (\frac{5}{2},3 \cosh ^{-1}(a x)\right )\right )}{216 a^3 \sqrt{\cosh ^{-1}(a x)}} \]

Warning: Unable to verify antiderivative.

[In]

Integrate[x^2*ArcCosh[a*x]^(3/2),x]

[Out]

(Sqrt[3]*Sqrt[-ArcCosh[a*x]]*Gamma[5/2, -3*ArcCosh[a*x]] + 27*Sqrt[-ArcCosh[a*x]]*Gamma[5/2, -ArcCosh[a*x]] +
Sqrt[ArcCosh[a*x]]*(27*Gamma[5/2, ArcCosh[a*x]] + Sqrt[3]*Gamma[5/2, 3*ArcCosh[a*x]]))/(216*a^3*Sqrt[ArcCosh[a
*x]])

________________________________________________________________________________________

Maple [F]  time = 0.091, size = 0, normalized size = 0. \begin{align*} \int{x}^{2} \left ({\rm arccosh} \left (ax\right ) \right ) ^{{\frac{3}{2}}}\, dx \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^2*arccosh(a*x)^(3/2),x)

[Out]

int(x^2*arccosh(a*x)^(3/2),x)

________________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int x^{2} \operatorname{arcosh}\left (a x\right )^{\frac{3}{2}}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2*arccosh(a*x)^(3/2),x, algorithm="maxima")

[Out]

integrate(x^2*arccosh(a*x)^(3/2), x)

________________________________________________________________________________________

Fricas [F(-2)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: UnboundLocalError} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2*arccosh(a*x)^(3/2),x, algorithm="fricas")

[Out]

Exception raised: UnboundLocalError

________________________________________________________________________________________

Sympy [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int x^{2} \operatorname{acosh}^{\frac{3}{2}}{\left (a x \right )}\, dx \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x**2*acosh(a*x)**(3/2),x)

[Out]

Integral(x**2*acosh(a*x)**(3/2), x)

________________________________________________________________________________________

Giac [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \mathit{sage}_{0} x \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^2*arccosh(a*x)^(3/2),x, algorithm="giac")

[Out]

sage0*x